package com.ck.model.common;

/**
 * 场景
 *
 * @author linq
 */
public class Scene {
    private Long sceneId;
    /**
     * 场景版本号
     */
    private String sceneVersion;
    /**
     * 场景名称
     */
    private String sceneName;
    /**
     * 场景时长(毫秒)
     */
    private Integer sceneDuration;
    /**
     * 节目版本号
     */
    private String programVersion;
    /**
     * 添加时间
     */
    private Long addTime;

    /**
     * 背景图
     */
    private String background;

    public Scene() {
    }

    public Scene(Long sceneId, String sceneVersion, String sceneName, Integer sceneDuration, String programVersion, Long addTime, String background) {
        this.sceneId = sceneId;
        this.sceneVersion = sceneVersion;
        this.sceneName = sceneName;
        this.sceneDuration = sceneDuration;
        this.programVersion = programVersion;
        this.addTime = addTime;
        this.background = background;
    }

    public Long getSceneId() {
        return sceneId;
    }

    public void setSceneId(Long sceneId) {
        this.sceneId = sceneId;
    }

    public String getSceneVersion() {
        return sceneVersion;
    }

    public void setSceneVersion(String sceneVersion) {
        this.sceneVersion = sceneVersion == null ? null : sceneVersion.trim();
    }

    public String getSceneName() {
        return sceneName;
    }

    public void setSceneName(String sceneName) {
        this.sceneName = sceneName == null ? null : sceneName.trim();
    }

    public Integer getSceneDuration() {
        return sceneDuration;
    }

    public void setSceneDuration(Integer sceneDuration) {
        this.sceneDuration = sceneDuration;
    }

    public String getProgramVersion() {
        return programVersion;
    }

    public void setProgramVersion(String programVersion) {
        this.programVersion = programVersion == null ? null : programVersion.trim();
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    @Override
    public String toString() {
        return "Scene{" +
                "sceneId=" + sceneId +
                ", sceneVersion='" + sceneVersion + '\'' +
                ", sceneName='" + sceneName + '\'' +
                ", sceneDuration=" + sceneDuration +
                ", programVersion='" + programVersion + '\'' +
                ", addTime=" + addTime +
                ", background='" + background + '\'' +
                '}';
    }
}